package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.Strategy;
import cn.wolfcode.trip.base.domain.StrategyCollection;
import cn.wolfcode.trip.base.domain.TravelCollection;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface StrategyCollectionMapper {
    int insert(@Param("userId") Long userId, @Param("strategyId") Long StrategyId, @Param("date") Date date);

    StrategyCollection get(@Param("userId") Long userId, @Param("strategyId") Long strategyId);

    void delete(@Param("userId") Long userId, @Param("strategyId") Long StrategyId);

    List<StrategyCollection> selectAll();
}